﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CrearAsientos.aspx.cs" Inherits="WebApplication1.CrearAsientos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 120px;
        }
        .style2
        {
            width: 134px;
        }
        </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <table style="width:100%;">
    <tr>
          <td>
                Fecha</td>
            <td>
                Fecha Documento</td>
          </tr>
          <tr>
          <td>
                <asp:TextBox ID="fecha" runat="server" Enabled="False"></asp:TextBox>
              </td>
            <td>
                <asp:TextBox ID="fechaDoc" runat="server"></asp:TextBox>
              </td>
        </tr>
        <tr>
            <td class="style2">
                Cuentas agregadas:</td>
            <td class="style1">
                Seleccionar Cuenta</td>
        </tr>
        <tr>
            <td class="style2" width="100%" valign="top">
                <asp:ListBox ID="CuentasList" runat="server" Width="100%"></asp:ListBox>
            </td>          
            <td class="style1">
                <table>
                <tr>
                <td>
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList>
                </td>
                <td>
                <asp:Button ID="Button2" runat="server" Text="Agregar" onclick="Button2_Click"/>
                </td>
                </tr>
                <tr>
                <td>
                Monto</td>
                </tr>
                <tr>
                <td>
                
                    <asp:TextBox ID="monto" runat="server"></asp:TextBox>
                
                </td>
                </tr>
                <tr>
                <td>
            <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem>Haber</asp:ListItem>
                <asp:ListItem>Debe</asp:ListItem>
            </asp:RadioButtonList>
                </td>
                </tr>
                </table>
            </td>
          </tr>
        <tr>
        <td>
        
            <asp:Button ID="Button1" runat="server" Text="Crear Asiento" 
                onclick="Button1_Click" />
            </td>
        </tr>
    </table>
    <script>
        $(document).ready(function () {
            $("#fecha").datepicker({
                showOn: "button",
                buttonImage: "~/Images/calendar_icon.jpg",
                buttonImageOnly: true
            });
        });
        $(document).ready(function () {
            $("#fechaDoc").datepicker({
                showOn: "button",
                buttonImage: "~/Images/calendar_icon.jpg",
                buttonImageOnly: true
            });
        });

    </script>

</asp:Content>
